package com.woniu.order.entity.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Ma.Lei
 * @description
 * @date 2023/2/20 11:35
 */
@Data
public class QueryServiceOrderVo {

    @ApiModelProperty(value = "订单编号")
    private String no;

    @ApiModelProperty(value = "（外键）用户id")
    private String userId;

    @ApiModelProperty(value = "门店ID")
    private String shopId;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "订单状态;（订单状态：0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->退款中）")
    private Integer status;

    @ApiModelProperty(value = "订单总金额")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "支付方式;（0-现金；1-支付宝）")
    private Integer payType;

    @ApiModelProperty(value = "服务ID")
    private String serviceId;

    @ApiModelProperty(value = "应付金额（实际支付金额）")
    private BigDecimal payAmount;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;
}
